<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="'../master.kid'">

<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title>Translate ${page.name}</title>
    <link href="/static/css/space.css" media="screen" rel="Stylesheet" type="text/css" />
</head>

<body>  
<h2 py:content="page.name">Name</h2>

<form id="form_new_page" action="/page/page_translate_commit" method="post">
<table>
<tr>
<td width="120"><b>Title</b></td>
<td><input type="text" name="name" size="50" /></td>
</tr>
<tr>
<td><b>Language</b></td>
<td>
<select name="space_id">
<option py:for="k,v in lang_family.items()" value="$v">
${k}
</option>
</select>
</td>
</tr>
</table>
<input name="page_id" type="hidden" value="$page.id" />
<a href="#" onclick="submit('form_new_page'); return false;">translate</a>
<a href="#" onclick="history.back();">back</a>
</form>

</body>

</html>
